﻿using System;
using System.Windows;

namespace JDGLSys
{
    /// <summary>
    /// Test.xaml 的交互逻辑
    /// </summary>
    public partial class Test : Window
    {
        public Test()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            //获得page1 页面活动面板
            Uri uri = new Uri("Pages/Page1.xaml", UriKind.Relative);
            framemain.Source = uri;
        }
        private void Button_Click1(object sender, RoutedEventArgs e)
        {
            //获得page2 页面活动面板
            Uri uri = new Uri("Pages/Page2.xaml", UriKind.Relative);
            framemain.Source = uri;
        }
    }
}
